<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>抚乐酒吧</title>
    <link rel="shortcut icon" href="favicon.ico">
    <!-- 引入样式 -->
    <link rel="stylesheet" href="plugins/element-ui/index.css"/>
    <link rel="stylesheet" href="styles/common.css"/>
    <link rel="stylesheet" href="styles/index.css"/>
    <link rel="stylesheet" href="styles/icon/iconfont.css"/>
    <style>
        body {
            min-width: 1366px;
            background: url('images/bg-1.png') no-repeat center center fixed;
            background-size: cover;
            margin: 0;
            padding: 0;
        }

        .app-main {
            height: calc(100% - 64px);
        }

        .app-main .divTmp {
            width: 100%;
            height: 100%;
        }

        h1 {
            text-align: center;
            margin-top: 50px;
            margin-bottom: 50px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        #app {
            background-color: rgba(0, 0, 0, 0.5);
            padding: 20px;
            border-radius: 10px;
            margin: 0 auto;
            width: fit-content;
        }

        .btn-trans {
            width: 200px;
            height: 100px;
            border-radius: 20px;
            font-size: 1.5rem;
            color: white;
        }

        .feature {
            backdrop-filter: blur(10px);
            background-color: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 10px;
            height: 70%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 20px;
        }

        .feature .el-button {
            margin: 10px;
        }

    </style>
</head>

<body>
<div class="app" id="app">
    <h1 style="font-size: 3rem;">欢迎使用抚乐酒吧弹幕背景管理平台</h1>
    <div class="feature">
        <div class="btn-top">
            <el-button class="btn-trans" type="primary" @click="goToBgImage">背景轮播</el-button>
            <el-button class="btn-trans" type="primary" @click="goToScrolling">背景弹幕</el-button>
            <el-button class="btn-trans" type="primary" @click="gotoLyricRoll">歌词滚动</el-button>
        </div>
        <div class="btn-bottom">
            <el-button class="btn-trans" type="primary" @click="goToImageManage">背景管理</el-button>
            <el-button class="btn-trans" type="primary" @click="goToScrollingManage">弹幕管理</el-button>
        </div>

    </div>
</div>
<!-- 开发环境版本，包含了有帮助的命令行警告 -->
<script src="plugins/vue/vue.js"></script>
<!-- 引入组件库 -->
<script src="plugins/element-ui/index.js"></script>
<!-- 引入axios -->
<script src="plugins/axios/axios.min.js"></script>
<script src="js/request.js"></script>
<script>
    new Vue({
        el: '#app',
        data() {
            return {}
        },
        methods: {
            goToBgImage() {
                window.location.href = 'page/bgImage.html';
            },
            goToScrolling() {
                window.location.href = 'page/bgScrolling.html';
            },
            goToImageManage() {
                window.location.href = 'page/imageManage.html';
            },
            goToScrollingManage() {
                window.location.href = 'page/scrollingManage.html';
            },
            gotoLyricRoll() {
                window.location.href = 'page/lyricRoll.html';
            }
        }
    })
</script>
</body>
</html>
